package com.kerwin.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymenHystrixService {

    @Override
    public String payment_ok(Integer id) {
        return "############fallback,payment_ok";
    }

    @Override
    public String payment_timeout(Integer id) {
        return "############fallback,payment_timeout";
    }
}
